package com.sxbbc.common.core.entity.banks;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 产品评论表
 * </p>
 *
 * @author
 * @since 2020-09-04
 */
@TableName("sys_product_reviews")
public class SysProductReviews implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 产品编码
     */
    private String prodCode;

    /**
     * 评论
     */
    private String content;

    /**
     * 点赞数
     */
    private Integer likes;

    /**
     * 评论人
     */
    private String commentator;

    /**
     * 评论时间
     */
    private LocalDateTime commentTime;

    /**
     * 审核状态（0待审核 1审核通过 2审核失败）
     */
    private Integer approvalStatus;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getProdCode() {
        return prodCode;
    }

    public void setProdCode(String prodCode) {
        this.prodCode = prodCode;
    }
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
    public Integer getLikes() {
        return likes;
    }

    public void setLikes(Integer likes) {
        this.likes = likes;
    }
    public String getCommentator() {
        return commentator;
    }

    public void setCommentator(String commentator) {
        this.commentator = commentator;
    }
    public LocalDateTime getCommentTime() {
        return commentTime;
    }

    public void setCommentTime(LocalDateTime commentTime) {
        this.commentTime = commentTime;
    }
    public Integer getApprovalStatus() {
        return approvalStatus;
    }

    public void setApprovalStatus(Integer approvalStatus) {
        this.approvalStatus = approvalStatus;
    }

    @Override
    public String toString() {
        return "SysProductReviews{" +
        "id=" + id +
        ", prodCode=" + prodCode +
        ", content=" + content +
        ", likes=" + likes +
        ", commentator=" + commentator +
        ", commentTime=" + commentTime +
        ", approvalStatus=" + approvalStatus +
        "}";
    }
}
